package raycast;

import javax.imageio.ImageIO;

public class RayCaster implements Renderer {
	/* Aca iria la variable private q represente al objeto imagen */
	
	@Override
	public ImageIO Render(Scene scene, int width, int height) {
		/*	
			Image image = new Image(width, height);
			
			double deltaH = 2 * Scene.getCamera().getFov() / height;
			double deltaV = 2 * Scene.getCamera().getFov() / height;
			
			for (int i = 0; i < width; i++)	{
				for (int j = 0; j < height; j++)	{
					Ray ray = Ray(scene.getCamera(), i* deltaH, j * deltaV);
					//Ray ray = Ray(scene.getCamera(), i, j);
					Intersection hit = FindIntersection(ray, scene);
					image[i][j] = GetColor(hit);
				}
			}
			return image;
		}
	*/
		return null;
	}

}
